package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author ht
 * @email ht035200@163.com
 * @date 2020-04-08 11:13:29
 */
public interface CategoryService extends IService<CategoryEntity> {
    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    Map<String,List<Object>> listWithTreeByCatId(Long catId);

    void removeMenuByIds(List<Long> catIds);
}

